Skip to content

feat: update pos e2e test suite to add POL token support#252

Open
leovct wants to merge 38 commits intomainfrom
fix/pos-validator-tests
Open

feat: update pos e2e test suite to add POL token support#252
leovct wants to merge 38 commits intomainfrom
fix/pos-validator-tests

Conversation

@leovct
Copy link
Collaborator

@leovct leovct commented Mar 24, 2026

  • Update validator tests to use POL token instead of MATIC
  • Add new tests:
    • bridge POL from L1 to L2 and confirm native tokens balance increased on L2
    • bridge native token from L1 to L2 and confirm WETH balance increased on L2
    • withdraw native tokens from L2 and confirm native balance decreased on L2 and checkpoint was submitted
    • withdraw validator rewards
  • Replace bash arithmetic comparisons, [[ ... -ge ... ]] with bc to avoid integer overflow on large token balances since bash is limited to 64-bit signed integers.

Related to 0xPolygon/polygon-cli#881

@leovct leovct changed the title fix: pos validator tests feat: update pos e2e test suite to add POL token support Mar 25, 2026
@leovct leovct marked this pull request as ready for review March 25, 2026 14:47
@leovct leovct requested a review from a team March 25, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant